package com.test.cn.game

import scala.util.Random

class Computer(var name: String) extends Mora {



  override def showFist: Int = {
    println(s"${name}出拳！")
    //实现出拳 0-2
    val i = Random.nextInt(3)
    println(s"${name}出: ${map(i+1)}")
    i+1
  }
}
